﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeFile="TrailShare.aspx.cs" Inherits="UI_TrailShare" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server"> <table width="427" border="0" cellspacing="0" cellpadding="0">
       <tr>
         <td width="8" height="8" align="left" valign="top"><asp:Image ID="img77" runat="server" ImageUrl="~/images/box/white/round_box_top_left.png" Width="8" Height="8" /></td>
         <td height="8" align="left" valign="top" style="background-color: White;"><asp:image ID="im87" runat="server" ImageUrl="images/box/white/round_box_top_repeater.png" Width="1" Height="8" /></td>
         <td width="8" height="8" align="left" valign="top"><asp:Image ID="img23" runat="server" ImageUrl="~/images/box/white/round_box_top_right.png" Width="8" Height="8" /></td>
       </tr>
       <tr>
         <td width="8" align="left" valign="top" style="background-color: White;"><asp:Image ID="img98" runat="server" ImageUrl="~/images/box/white/round_box_left-08.png" Width="8" Height="2" /></td>
         <td align="left" valign="top" bgcolor="#FFFFFF"><table width="400" border="0" cellspacing="0" cellpadding="0">
             <tr>
               <td align="left" valign="top" class="arial_heading_font_blue_16 dotted_bottom_line">Share 
                   Trail</td>
             </tr>
             <tr>
               <td align="left" valign="top">&nbsp;</td>
             </tr>
             <tr>
             <td align="left" valign="top">
               <div style="padding:0px 10px; text-align:left; font-size:11px; line-height:20px;" >
                   <table width="99%">
                      <tr>
                          <td align="left">
                 <asp:Panel ID="pnllogin" runat="server" DefaultButton="btnSubmit">
                 <table width="260" border="0" cellspacing="0" cellpadding="0">
                   <tr>
                     <td width="201" align="left" valign="top"><table width="200" border="0" cellspacing="0" cellpadding="2">
                       <tr>
                         <td align="left" valign="top"><table width="400" border="0" cellspacing="0" 
                                 cellpadding="0">
                           <tr>
                             <td width="61" align="left" valign="middle" class="normal_font_white_11" style="color:Black;">
                                 Your Name:</td>
                             <td width="139" align="left" valign="top">
                                 <asp:TextBox ID="txtSenderName" runat="server" 
                                     ontextchanged="txtSenderName_TextChanged"></asp:TextBox>
                                 <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" 
                                     ControlToValidate="txtSenderName" Display="Dynamic" ErrorMessage="*" 
                                     SetFocusOnError="True"></asp:RequiredFieldValidator>
                             
                             </td>
                           </tr>
                           
                             <tr>
                                 <td align="left" class="normal_font_white_11" style="color:Black;" 
                                     valign="middle" width="61">
                                     Your Email:</td>
                                 <td align="left" valign="top" width="139">
                                     <asp:TextBox ID="txtSenderEmail" runat="server"></asp:TextBox>
                                     <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" 
                                         ControlToValidate="txtSenderEmail" Display="Dynamic" ErrorMessage="*" 
                                         SetFocusOnError="True"></asp:RequiredFieldValidator>
                                     <asp:RegularExpressionValidator ID="RegularExpressionValidator1" runat="server" 
                                         ControlToValidate="txtSenderEmail" Display="Dynamic" 
                                         ErrorMessage="Invalid Email" SetFocusOnError="True" 
                                         ValidationExpression="\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*"></asp:RegularExpressionValidator>
                                 </td>
                             </tr>
                             <tr>
                                 <td align="left" class="normal_font_white_11" style="color:Black;" 
                                     valign="middle" width="61">
                                     Friend&#39;s Name:</td>
                                 <td align="left" valign="top" width="139">
                                     <asp:TextBox ID="txtFriendName" runat="server"></asp:TextBox>
                                     <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" 
                                         ControlToValidate="txtFriendName" Display="Dynamic" ErrorMessage="*" 
                                         SetFocusOnError="True"></asp:RequiredFieldValidator>
                                 </td>
                             </tr>
                             <tr>
                                 <td align="left" class="normal_font_white_11" style="color:Black;" 
                                     valign="middle" width="61">
                                     Friend&#39;s Email:</td>
                                 <td align="left" valign="top" width="139">
                                     <asp:TextBox ID="txtFriendEmail" runat="server"></asp:TextBox>
                                     <asp:RequiredFieldValidator ID="RequiredFieldValidator4" runat="server" 
                                         ControlToValidate="txtFriendEmail" Display="Dynamic" ErrorMessage="*" 
                                         SetFocusOnError="True"></asp:RequiredFieldValidator>
                                     <asp:RegularExpressionValidator ID="RegularExpressionValidator2" runat="server" 
                                         ControlToValidate="txtFriendEmail" Display="Dynamic" 
                                         ErrorMessage="Invalid Email" SetFocusOnError="True" 
                                         ValidationExpression="\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*"></asp:RegularExpressionValidator>
                                 </td>
                             </tr>
                             <tr>
                                 <td align="left" class="normal_font_white_11" style="color:Black;" 
                                     valign="middle" width="61">
                                     &nbsp;</td>
                                 <td align="left" valign="top" width="139">
                                     <asp:TextBox ID="txtMsg" runat="server" TextMode="MultiLine"></asp:TextBox>
                                 </td>
                             </tr>
                             <tr>
                                 <td align="left" class="normal_font_white_11" style="color:Black;" 
                                     valign="middle" width="61">
                                     &nbsp;</td>
                                 <td align="left" valign="top" width="139">
                                     <asp:Button ID="btnSubmit" runat="server" onclick="btnSubmit_Click" 
                                         Text="Share" />
                                 </td>
                             </tr>
                           
                         </table></td>
                       </tr>

                     </table></td>
                   </tr>
                 </table>
                 </asp:Panel>
                 <br />
                 </td></tr></table>
               </div>           
            </td>
             </tr>
             <tr>
               <td align="left" valign="top">&nbsp;</td>
             </tr>
         </table></td>
         <td width="8" align="right" valign="top" style="background-color: White;"><asp:Image ID="img61" runat="server" ImageUrl="images/box/white/right.png" Width="8" Height="2" /></td>
       </tr>
       <tr>
         <td width="8" height="8" align="left" valign="top"><asp:Image id="img41" runat="server" ImageUrl="~/images/box/white/round_box_bottom_left.png" Width="8" Height="8" /></td>
         <td height="8" align="left" valign="top" style="background-color: White;"><asp:Image ID="img51" runat="server" ImageUrl="~/images/box/white/round_box_bottom_repeater.png" Width="1" Height="8" /></td>
         <td width="8" height="8" align="left" valign="top"><asp:Image id="img32" runat="server" ImageUrl="~/images/box/white/round_box_bottom_right.png" Width="8" Height="8" /></td>
       </tr>
</table>
</asp:Content>

